<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	int row = 0;
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/htmL1/DTD/xhtml1-transitional.dtd">

<!--
/***********************************************
* 파일명   	: common_code_list_ajax.jsp
* 기  능      	: 공통코드관리
* 최초 작성일 	: 2009/02/10
* @author 	: Yang D
*************************************************
-->
<html>
<head></head>
<body>
    <!----------Tbl_info & Table box ------>
    <div id="tbl_info_box">
	    <ul>
	        <li class="txt"><b>조회 건수 :</b><s:property value="rowCount"/></li>
	    </ul>
    </div>
	<table class="product_tbl">
		<tr>
			<th>선택</th>
			<th>대표코드</th>
			<th>대표코드명</th>
			<th>코드</th>
			<th>코드명</th>
			<th>사용구분</th>
			<th>비고</th>
		</tr>
		<s:iterator value="list">
		<tr>
			<td><input type="checkbox" name="s_chk" id="s_chk" value="<%=row++ %>" /><%=row %></td>
			<td>
				<span id="span_txt_01" title="대표코드명 수정" <s:if test="%{cd == 0}">style="cursor:pointer;" onclick="fnc_mod_high_code('<s:property value="high_cd" />' , '<s:property value="cd" />')" </s:if>><s:property value="high_cd" /></span>
			</td>
			<td><s:property value="high_nm" /></td>
			<td><span id="span_txt_01" title="대표코드명 수정" <s:if test="%{cd != 0}">style="cursor:pointer;" onclick="fnc_mod_sub_code('<s:property value="high_cd" />' , '<s:property value="cd" />')" </s:if>><s:property value="cd" /></span></td>
			<td><s:property value="cd_nm" /></td>
			<td><s:property value="use_yn" /></td>
			<td><s:property value="etc" /></td>
		</tr>
		</s:iterator>
	</table>
	
	<!----------Tbl_info & Table box ------>
	<!-- 페이징 Start -->
	<div class="pagination">
	   <s:property value="pDao.html" escape="false"/>
	</div>
   	<!-- // 페이징 End -->
</body>
<script src="inc/js/ajaxCommon.js"></script>
</html>